package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffDeptListDto
 * @使用场景
 */
@Data
public class BffDeptListDto implements Serializable {

  /**
   * 部门ID
   */
  @ApiModelProperty("部门ID")
  private String deptId;

  /**
   * 部门简称
   */
  @ApiModelProperty("部门简称")
  private String deptShortName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffDeptListDto that = (BffDeptListDto) o;
      return  deptId == that.deptId&&deptShortName == that.deptShortName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), deptId,deptShortName);
    }

}
